//
//  ArtManager.h
//  EasyToo
//
//  Created by zhengzhe on 13-8-25.
//
//

#import <Foundation/Foundation.h>
#import "ServerCommunicationDelegate.h"
#import "AllArtInfo.h"

@protocol ArtManagerDelegate <NSObject>
@optional

//查询所有门票
- (void)qryAllArtInfo:(BOOL)isSuccess artInfo:(AllArtInfo*)artArray;

//购买门票
- (void)buyArtInfo:(BOOL)isSuccess OrderId:(NSString*)OrderId SumPrice:(NSString*)SumPrice;

////确认购买门票
- (void)confirmArtInfo:(BOOL)isSuccess tn:(NSString*)tn;

@end

@interface ArtManager : NSObject <ServerCommunicationDelegate>

@property (nonatomic, assign) id<ArtManagerDelegate> delegate;

+ (ArtManager*)shareManager;


//查询所有演艺票
- (void)qryAllArtInfo;

//购买演艺票
- (void)buyArtInfo:(NSString*)quantity
       singlePrice:(NSString*)singlePrice
            mobile:(NSString*)mobile
      customerName:(NSString*)customerName
           priceId:(NSString*)priceId;

//确认购买门票
- (void)confirmBuyArtTicket:(NSString*)agentOrderID
                   amount:(NSString*)amount
              projectName:(NSString*)projectName
                    phone:(NSString*)phone
                 allPrice:(int)allPrice;

@end
